import { getStore, removeStore } from '@/utils/util'
export default {
  data() {
    return {
      route: ''
    }
  },
  created() {
    let metched = this.$route.matched.map((item) => {
      return item.name
    })
    this.route = metched.join('/')
    if (getStore('loginSign')) {
      this.$message.success('登录成功')
      removeStore('loginSign')
    }
  }
}
